package stephen.com.model;

import stephen.com.annotation.MyField;
import stephen.com.annotation.Table;

/**
 * favorite
 *
 * @author Stephen 2020-01-15
 */
@Table("favorite")
public class Favorite {
	/**
	 * id
	 */
	private Integer id;

	/**
	 * 收藏用户id
	 */
	@MyField("u_id")
	private Integer uId;

	/**
	 * 文章id
	 */
	@MyField("a_id")
	private Integer aId;

	public Favorite() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getuId() {
		return uId;
	}

	public void setuId(Integer uId) {
		this.uId = uId;
	}

	public Integer getaId() {
		return aId;
	}

	public void setaId(Integer aId) {
		this.aId = aId;
	}
}
